package com.chat.entity;

/**
 * 凭证表
 */
public class TdChatCertificate {
	
	//主键
	private Integer id;
	//凭证类型
	private Integer type;
	//存取键
	private String accesskey;
	//密钥
	private String secretkey;
	//创建时间
	private String createtime;
	
	public TdChatCertificate(Integer type, String accesskey, String secretkey) {
		this.type = type;
		this.accesskey = accesskey;
		this.secretkey = secretkey;
	}
	
	public TdChatCertificate(Integer type, String accesskey, String secretkey, String createtime) {
		this.type = type;
		this.accesskey = accesskey;
		this.secretkey = secretkey;
		this.createtime = createtime;
	}
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public String getAccesskey() {
		return accesskey;
	}
	public void setAccesskey(String accesskey) {
		this.accesskey = accesskey;
	}
	public String getSecretkey() {
		return secretkey;
	}
	public void setSecretkey(String secretkey) {
		this.secretkey = secretkey;
	}
	public String getCreatetime() {
		return createtime;
	}
	public void setCreatetime(String createtime) {
		this.createtime = createtime;
	}
	
}
